var Employee = function(chineseName, englishName) {
    this.chineseName = chineseName;
    this.englishName = englishName;
}

Employee.prototype = {
    msnid : function(id) {
        this.msn = id;
        return this;
    },
    yimid : function(id) {
        this.yahoo = id;
        return this;
    },
    getDisplayName: function() {
        if (this.chineseName == "") {
            return this.englishName;
        }
        return this.chineseName;
    }
}